package com.aaa.service;

import com.aaa.entity.Order;

import java.util.List;
import java.util.Map;

public interface OrderService {



    int updateOrderByOrderId(Order order);

	/**
     * 订单审核
     * @param orderId
     * @param status
     * @return
     */
    int  updateVerifyOrderByOrderId(Integer orderId,Integer status);

    List<Order> findAllOrder(Integer pageNumber, Integer pageSize, Integer orderId, Integer cardId);

    List<Order> findOrderByOrderId(Integer orderId);

    List<Order> findOrderBySCardId(Integer cardId);


    /**
     * 提交订单
     * @param orderinfoArr
     * @param orderinfoObj
     * @return
     */
    int  submitOrder(String orderinfoArr,String orderinfoObj);

	
	/**
     * 查询订单总数
     * @param orderId
     * @param cardId
     * @return
     */
    int getAllOrderInfoCount(Integer orderId,Integer cardId);

    /**
     * 充值订单统计
     * @return
     */
    public Map<String,Object> getOrderNearYearMonthsCount();

}
